import { BrowserModule } from '@angular/platform-browser';
import { LOCALE_ID, NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

// 
import { ShareModule } from './share.module';
import { AppComponent } from './app.component';

// app route
import { routingPages, routingPagesComponents, AppRoutingModule } from './app.router.module';
// component
import { NgxBusyComponent } from './component/ngx-busy/ngx-busy';

// hash
import {HashLocationStrategy, LocationStrategy} from '@angular/common';



@NgModule({
  declarations: [
    AppComponent,
    NgxBusyComponent,
    routingPages,
    routingPagesComponents
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    AppRoutingModule,
    ShareModule
  ],
  providers: [{ provide: LOCALE_ID, useValue: 'fr' },{provide: LocationStrategy, useClass: HashLocationStrategy}],
  bootstrap: [AppComponent]
})
export class AppModule { }
